/*
 * Copyright (C) 2017 Pingan, Inc. All Rights Reserved.
 */

package com.pingan.haofang.searchcloud.solr.collection.impl;

/**
 * 异常
 *
 * @author zhangbi617
 * @date 2017-06-22
 */
public class CollectionCreateException extends RuntimeException {

    public CollectionCreateException(int maxReplicationFactor) {
        this.maxReplicationFactor = maxReplicationFactor;
    }

    private int maxReplicationFactor;

    public int getMaxReplicationFactor() {
        return maxReplicationFactor;
    }

    public void setMaxReplicationFactor(int maxReplicationFactor) {
        this.maxReplicationFactor = maxReplicationFactor;
    }
}
